<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue2.7.js" type="text/javascript" charset="UTF-8"></script>
    <script src="js/elementui.js" type="text/javascript" charset="UTF-8"></script>
    <script src="js/axios.min.js" type="text/javascript" charset="UTF-8"></script>
    <link rel="stylesheet" type="text/css" href="css/ui.css">
</head>
<body>
    <div id="app">
        {{msg}}:{{num}}
        <button type="button" @click="add()">加法</button>
    </div>

    <script type="text/javascript">
        new Vue({
            el:"#app",
            data:{
                msg:"信息",
                num:100
            },
            methods:{
                add(){
                    this.num+=100
                }
            }
        })
    </script>
</body>
</html>